home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ultimate Screensaver
/
Ultimate Screen Savers Collection (CMS Distributing) (1996).ISO
/
saver3
/
xwsave1
/
compile.txt
next >
Wrap
Text File
|
1995-03-01
|
2KB
|
32 lines
This program was built and compiled using Borland 4.5 C++. However I tried
to design the code so that it was independent of the compiler. It should be
possible to compile this using any C++ compiler that can produce MS
Windows 3.1 executables. No special library files or dlls are required other
than those needed to build any MS Windows program. You will need to define
MSWIN.
Included is the Borland ide file, and the IDE generated makefile. If you
use these, the directory paths will of course need to be set to reflect
your setup.
The program was designed such that the orginal UNIX Xlock files could be
compiled and linked without any changes being made to them. Because of
this a large number of compiler warnings will be generated when the program
is built. If you find this anoying, then turn off the warnings in the ide.
With one or two exceptions, the Xlock files are unchanged from the original
ones. Where changes were necessary, appropriate documentation is made in the
source file. The only changes made were where int variables were declared
that require a long value in 16 bit windows. Well, actually that is only true
for the screen saver modules. A bit of code was added to Usleep.c in order to
get it to work with windows.
Also the program is generated with an exe extension. Just rename it with
a scr extension to use as a screen saver.
Note that the screen generation modules and hsbramp.c were not written
by me and are C modules. Most of these will probably not compile under
C++ and should be compiled as C modules.
Perry K. Sloope 3/1/95